{% extends "task_layout.html" %}
{% block content %}

        {% for task in task_list %}
        <dt>2012-01-23</dt>
        <dd >
            <ul><li class="checkboxli"><input type="checkbox"></li><li class="textli">ddd</li></ul>
        </dd>
        <dd >
            <ul><li class="checkboxli"><input type="checkbox"></li><li class="text_double_li"><label class="max">测试内容</label><label class="min">测试小字号 测试拉开距离几 </label></li></ul>
        </dd>
        {% endfor %}
  
    
{% endblock %}

{% block project_dd_list %}
{% for project in project_list %}
{% if project.id == proj_id %}
<dd class="ddclick" >{{project}}</dd>
{% else %}
<dd onclick="location.href='/jobs/{{project.id}}'" >{{project}}</dd>
{% endif %}
{% endfor %}
{% endblock%}

{% block project_dd_cate %}
<script>
$(document).ready(function(){
    $("#container_left dd").click(function(){
        $("#container_left .ddclick").removeClass("ddclick");
        
        $(this).addClass("ddclick");
		url= "/jobs/{{proj_id}}/"+$(this).attr("id");
		$("#content_box").html('<div style="color:#666666;margin:10px;font-size:16px;">loading.....</div>');
        $.get(url,function(data){
            $("#content_box").html(data);
        });
        $("#chield_name").text($(this).text())
        $(".right_list").show();
        $(".right_edit").hide();
    });
  
});
</script>

{% for cate in category_list %}
<dd id="cate_{{cate.id}}" title="{{cate.name}}">{{cate.name}}</dd>
{% endfor %}
{% endblock %}
